package com.cchr.acms.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cchr.acms.dao.CountryInfoDao;
import com.cchr.acms.model.CountryInfo;
import com.cchr.acms.service.CountryInfoService;

@Service
public class CountryInfoServiceImpl implements CountryInfoService {
	@Autowired
	private CountryInfoDao CountryInfoDao;

	@Override
	public List<String> getAllCountry() {
		return CountryInfoDao.getAllCountry();
	}

	@Override
	public List<String> getStatesByCountry(String country) {
		return CountryInfoDao.getStatesByCountry(country);
	}

	@Override
	public List<String> getCityByCryandStates(CountryInfo info) {
		return CountryInfoDao.getCityByCryandStates(info);
	}

}
